home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.hardware,comp.lang.c++
- Path: news.sprintlink.net!NEWS!dns!mike
- From: mike@easysw.com (Michael Sweet)
- Subject: Re: Help with serial/tty2 communication (write ok, read NOT).
- Message-ID: <11d7cc$11191a.ce@NEWS>
- Date: Mon, 29 Jan 1996 17:25:26 GMT
- Distribution: na
- FollowUp: comp.sys.sgi.hardware,comp.lang.c++
- References: <4ebkuaINNdqp@retriever.cs.umbc.edu>
- Organization: Easy Software Products
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dave Helfrick. (helfrick@cs.umbc.edu) wrote:
-
-
- : I am running on an Impact, and am trying to write a C++ class
- : (wrapper for C code) to communicate with a serial port.
-
- : I can write ok, but reading is not working.
-
- You probably need to set the 'CREAD' bit in the termios 'l_flag' structure
- (I think that's the one. From memory...).
-
- I started woring on some UNIX serial I/O pages a long while ago, but haven't
- quite finished them up... no free time! :( Anyways, the current pages can
- be accessed by your favorite web browser at http://www.easysw.com/~mike/serial.
-
- --
- ______________________________________________________________________________
-
- Mike Sweet 2D & 3D Software for Easy Software Products
- (301) 994-0377 Silicon Graphics, Inc. 20778 Wolftrap Street
- mike@easysw.com Workstations Lexington Park, MD 20653
- http://www.easysw.com
- ______________________________________________________________________________
-
-